﻿using System;
using System.Runtime.Serialization;

namespace NCMIS.ObjectModel.MetaData
{
    /// <summary>
    /// Represents a single action that occured to an object in the repository that affected the persisted
    /// state of the object.
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmis)]
    public class CmisChangeEvent
    {
        [DataMember(Name="changeType")]
        public TypeOfChanges ChangeType
        {
            get;
            set;
        }

        [DataMember(Name = "changeTime")]
        public DateTime ChangeTime
        {
            get;
            set;
        }
    }
}
